FROM nginx:stable-alpine

ARG ENVIRONMENT="prod"

RUN mkdir -p /app/ui
COPY env_conf/${ENVIRONMENT}/nginx.conf /etc/nginx/nginx.conf
COPY dist /app/ui

EXPOSE 80